package com.spark.incoicings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spark.invoicings.entity.OrderDetail;

import java.util.List;

public interface OrderDetailService extends IService<OrderDetail> {

    /**
     * 查询所有订单明细
     * @return
     */
    List<OrderDetail> selectOrderDetails();

    /**
     * 根据销售订单id查询所属销售订单明细
     * @param id
     * @return
     */
    List<OrderDetail> selectOrderDetailsSalesByIds(Integer id);

}
